<template>
  <el-tree
    :data="departs"
    show-checkbox
    node-key="departId"
    ref="tree"
    highlight-current
    :props="DepartProps">
  </el-tree>
</template>

<script>
    export default {
        name: "DepartSelector",
        data(){
          return{
            departs : [],
            props:{
              label:"departName",
              children:"children",
            }
          }
        }

    }
</script>

<style scoped>

</style>
